package com.example.mapper;

import com.example.pojo.Seat;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

@Mapper
public interface SeatMapper {

    void save(List<Seat> seatList);


    List<Seat> list(Short place,Short seatType);

    @Select("select * from seat where id = #{id}")
    Seat getSeatByID(int id);

}
